import Request from '@/axios/request'

export function getVueAdminUserRouters(params = {}) {
  return Request.get('vue-admin-user-routers', {
    params,
  })
}

export function storeVueAdminUserRouter(data) {
  return Request.post('vue-admin-user-routers', data)
}

export function destroyVueAdminUserRouter(id) {
  return Request.delete(`vue-admin-user-routers/${id}`)
}

export function updateVueAdminUserRouter(id, data) {
  return Request.put(`vue-admin-user-routers/${id}`, data)
}

export function editVueAdminUserRouter(id) {
  return Request.get(`vue-admin-user-routers/${id}/edit`)
}

export function updateVueAdminUserRouters(data) {
  return Request.put('vue-admin-user-routers', data)
}

export function createVueAdminUserRouter() {
  return Request.get('vue-admin-user-routers/create')
}
